
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
About rich text</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp252.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp254.htm" >Next</A>
<!-- End Header -->
<A NAME="CCJCJJIC"></A><h1>About rich text</h1>
<A NAME="TI8827"></A><p>Rich text format (RTF) is a standard for specifying formatting
instructions and document content in a single ASCII document. An
editor that supports rich text format interprets the formatting
instructions and displays formatted content. If you look at rich
text in a plain ASCII editor, you see complex instructions that
are not very readable. The actual text of the document is obscured
by the formatting instructions:</p>
<A NAME="TI8828"></A><p><p><PRE>{\par}\pard\ql{\f2\fs18\cf0\up0\dn0 A RichText piece of text}</PRE></p>
</p>
<A NAME="TI8829"></A><p>The same sample displayed without the commands looks like
this:</p>
<A NAME="TI8830"></A><p><p><PRE>A RichText piece of text</PRE></p>
</p>
<A NAME="TI8831"></A><h4>Elements of rich text</h4>
<A NAME="TI8832"></A><p>Rich text in PowerBuilder can have:<A NAME="TI8833"></A>
<ul>
<li class=fi>Margins and tab settings for each paragraph</li>
<li class=ds>Character formatting such as italic, bold, underline,
or superscripts for each character</li>
<li class=ds>Named input fields associated with database columns
or other data</li>
<li class=ds>Bitmaps</li>
<li class=ds>A header and footer for the document
</li>
</ul>
</p>
<A NAME="TI8834"></A><p>The user can use toolbars, editing keys, and a pop-up menu
to specify formatting. A print preview lets users view a reduced
image of the document to see how it fits on the page.</p>
<A NAME="TI8835"></A><h4>Rich text support in PowerBuilder</h4>
<A NAME="TI8836"></A><p>In PowerBuilder you can use rich text as a DataWindow presentation
style. You can also add a RichTextEdit control to a window or visual
user object.</p>
<A NAME="TI8837"></A><h4>What is not supported</h4>
<A NAME="TI8838"></A><p>PowerBuilder supports version 1.6 of the RTF standard, except
for the following features:<A NAME="TI8839"></A>
<ul>
<li class=fi>Formatted tables</li>
<li class=ds>Drawing objects
</li>
</ul>
</p>

